package com.platform.modules.act.zzsg;

import com.platform.common.utils.StringUtils;
import com.platform.modules.act.common.service.AssignService;
import com.platform.modules.act.ctx.service.ProcessObjectService;
import com.platform.modules.sys.service.SysUserService;

import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 中止施工 人员分配服务
 * @author Administrator
 *
 */
@Service
public class ZzsgAssignService {
	
    @Autowired
    ProcessObjectService processObjectService;
    @Autowired
    SysUserService sysUserService;
    @Autowired
    AssignService assignService;
    
//    List<String> list = Arrays.asList("eb1e3a11e47cfacac72c93c5d6d2c97d");
    List<String> list = Arrays.asList("4b31c62762381bb09bf958f893f88eb6");
    

    
    public List<String> jssqAssign(String poId, String userIds) {
    	if (StringUtils.isNotBlank(userIds)) {
            return Arrays.asList(userIds.split(","));
		}
    	return list;
    }
    
    public List<String> jgspAssign(String poId, String userIds) {
    	if (StringUtils.isNotBlank(userIds)) {
            return Arrays.asList(userIds.split(","));
		}
    	return list;
    }
    
    public List<String> jsfkAssign(String poId, String userIds) {
    	if (StringUtils.isNotBlank(userIds)) {
            return Arrays.asList(userIds.split(","));
		}
    	return list;
    }
    
    
   
}
